unary operator

一元运算符:代表一元操作的符号

常用释义

词性释义

一元运算符:代表一元操作的符号,即只接受一个操作数的运算符。
例句
  • 全部
1·A unary operator is an operator that operates on a single operand.
“一元运算符”是一种对单个操作数进行运算的运算符。
2·A definition of a unary operator where the argument is of the type of your class or structure.
一元运算符的定义,其中的参数是您的类或结构的类型。
3·A unary operator is named by using the key word operator followed by the unary operator symbol.
单目操作符(unary operator)是通过在关键字operator后跟单目运算符符号来命名的。
4·A return type and a single parameter are set for UML operation that represents a unary operator.
表示单目运算符的UML操作还设置有返回类型和一个参数。
5·In the final example, the value of the HOME variable is tested to see if it is a directory using the -d unary operator.
在最后一个示例中,测试home变量的值,用单目操作符- d检查它是不是目录。
6·A UML operation representing a binary operator is named similarly to unary operator, but the symbol is one of the binary operators.
表示双目运算符(binary operator)的UML操作的命名方式类似于单目运算符,但符号是双目运算符之一。
7·The power operator binds more tightly than unary operators on its left; it binds less tightly than unary operators on its right. The syntax is.
幂运算符比在操作数左边的一元运算符有更高的优先级; 但比右面的一元运算符要低。句法为。
8·Note that numeric literals do not include a sign; a phrase like -1 is actually an expression composed of the unary operator '-' and the literal 1.
注意数值型的字面值不包括符号(译注:正负号),像- 1实际上是个组合了一元运算符“-”和字面值1的表达式。
9·Defining this unary "operator" in Scala is slightly tricky, but it's purely a syntactic nit.
在Scala中定义这种一元“操作符”需要一点技巧,但这只是语法上的问题而已。
10·What is the difference between the unary minus operator and the binary subtraction operator?
一元操作符负号和二元操作符减号的区别是什么?